2020-2021 Sunseeker Telemetry and Lighting System
gpio_ex4_writeToPort1.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

void main (void)
 

Function Documentation

◆ main()

void main ( void  )

Write a byte to Port 1

Description: Writes a byte(0xFF) to Port 1 and stays in LPM4 mode ACLK = n/a, MCLK = SMCLK = default DCO

   MSP430F5529, MSP430FR5739
      -----------------
  /|\|                 |
   | |                 |
   --|RST              |
     |             P1.x|-->HI
     |                 |
     |                 |

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • GPIO Port peripheral

This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.

  • None.

Definition at line 59 of file gpio_ex4_writeToPort1.c.

References __no_operation(), and GPIO_setOutputHighOnPin().